package org.javatribe.calculator.common;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.ThreadPoolExecutor;

/**
 * Created by Wenxin on 2017/9/16.
 */
public final class WorkThreadPool {

    private final static ThreadPoolExecutor executorService = (ThreadPoolExecutor) Executors.newFixedThreadPool(3);

    public static ThreadPoolExecutor getThreadPoolExecutorService(){
        return executorService;
    }


}
